Description | Example | Return Message | Group(s)

SCHED: EditResource

Format

SCHED / EditResource '<ResourceName>' {AttributeName} <Parameters>

Description

The SCHED EditResource Connect command edits the attributes of a resource in STK Scheduler. This command can be used to edit a single resource attribute or multiple attributes of a single resource. When editing multiple resource attributes, all attributes will be applied to the resource in the order in which they appear in the command.

All resources are created with default attribute values.

{AttributeName}Description
General Parameters
DescriptionCreate a description for the given resource
PrioritySet the priority of the given resource based on the priority scale set by the user
SetupTimeDefine the Minimum Setup Time for the resource
BreakdownTimeDefine the Breakdown Time for the resource
BufferTimeDefine the Buffer Time for the resource
STKObjectAdd an associated STK Object to the resource
TagsAdd the resource to different resource tags
ColorAssign a specific color to the given resource in the Gantt
CostSet the cost options for the given resource

Rename

Changes a given Resource's ResourceID to a new value specified by the user.
Availability Parameters
DefaultAvailableDefines default availability of a resource
AvailPeriodicWindowsDefines periodic windows of availability or unavailability for a resource
AvailDiscreteWindowsDefines discrete windows of availability or unavailability for a resource
AvailTimeImportDefines windows of availability or unavailability for a resource via a file import
AvailSTKRepDefDefines windows of availability or unavailability for a resource via STK Reports
Accommodation Parameters
AccommodationDefines the maximum amount of tasks that a resource is able to handle at once
Capacity Parameters
CapacityApplicableDefines whether the given resource has a capacity.
CapacityDefines the different values for the capacity of a resource
StateModesSets the capacity type to state modes and then defines the discrete state modes
StateMatrixDefines a matrix of the time values required to transition between 2 modes
Duration Parameters
DurOverrideTypeDefines the type of duration override for the resource
DurOverrideFixedDefines the fixed duration override when DurOverrideType = FixedDur
DurOverrideEfficiencyDefines the fixed duration override when DurOverrideType = EfficiencyFactor
Notes Parameters
NotesDefine notes for the given resource
Other Parameters
HideDefines whether the given resource should be hidden from the gantt view

Examples

Changes the values of the Priority, SetupTime, and STKObject attributes of the DemoAntenna resource in the active schedule to 7, 15 minutes, and /Facility/DemoStation/Sensor/DemoAntenna, respectively
SCHED / EditResource 'DemoAntenna' Priority 7 SetupTime 900 STKObject 'Facility/DemoStation/Sensor/DemoAntenna'

SyntaxExample
<CommandName>SCHED / EditResource
<ResourceName>'DemoAntenna'
{AttributeName}Priority
<Parameters>7
{AttributeName}SetupTime
<Parameters>900
{AttributeName}STKObject
<Parameters>'Facility/DemoStation/Sensor/DemoAntenna'

Return Message

If activated. Connect returns an acknowledgment message.

Group Membership

This command belongs to the following group(s):

Scheduler

Version

4.3.1 and 5.0